<%@ page import="ro.gateway.aida.admin.PropertyListItem$EditForm"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/translator.tld" prefix="trans" %>
<%
	String ctx = request.getContextPath();
	PropertyListItem$EditForm form = (PropertyListItem$EditForm) session.getAttribute("proplistitem_editform");
	if (form == null) {
		return;
	}
%>
<head>
<LINK rel="stylesheet" type="text/css" href="<html:rewrite page='/alf.css'/>">
<trans:initPage module="proplists" />
<html:html>
      <script language="javascript">
		function send_message(form, name, value) {
		   form.elements[name].value = value;
		   form.submit();
		}
		function submitez(forma) {
			forma.event.value='update';
			forma.submit();
		}
		function jumpto(url) {
			window.location = url;
		};
      </script>
      <style>
            a.abut {
                  text-decoration:none;
                  color: black;
                  font-weight:normal;
            }
      </style>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<jsp:include page="../../header.jsp" />
	<html:form action="/admin/editproplistitem">
	<html:hidden property="event" />
	<table width="90%" border="0" align="center" cellpadding="5" cellspacing="1" background=<%=ctx%>/images/pixelbgtable.gif class="text_searchbold" style="margin-top:20px;border:1px solid #CCCCCC;">
	<tr><td colspan="2"> <div align="center"><font color="#FFFFFF"><trans:showPageMessage label='<%=form.list.getDisplay_name_tr_item()%>' /></font></div></td>
	</tr>
	<tr bgcolor="#FFFFFF">
		<td width="70%" align="right">
			<trans:showPageMessage label='<%=form.list.getItem_title_tr_item()%>' />:
			<html:text property="viewValue" size="35"
 				onkeydown="textCounter(this.form.viewValue,this.form.cviewValue,128);"
 				onkeyup="textCounter(this.form.viewValue,this.form.cviewValue,128);"/>
			<input type="text" size="3" name="cviewValue" value=""/> left
		</td>
		<td width="60%">
		<input class="butonsave" type="button" name="unknown01" value="<trans:showPageMessage label="update" hide_link="true" />"
		    onClick="javascript:submitez(this.form);"/>
		</td>
	</tr>
	<tr bgcolor="#FFFFFF">
		<td width="70%" align="right">&nbsp;</td>
		<td width="60%">
			<input class="butonsave" type="button" name="unknown01" value="<trans:showPageMessage label='<%=form.list.getList_title_tr_item()%>' hide_link="true" />"
			    onClick="javascript:jumpto('<%=ctx%>/admin/viewproplist.do?event=start&name=<%=form.list.getList_name()%>');"/>
		</td>
	</tr>
	</table><trans:showPageMessage label="translator.showhiddentags"/>
	<script type="text/javascript" src="<html:rewrite page='/javascript/textCounter.js'/>"></script>
	</html:form>
	<jsp:include page="../../footer.jsp" />
</html:html>
